package com.lhd.creational.builder;

/**
 * @Author: liuhd
 * @Date: 2024/10/28 14:29
 * @Description: 具体建造者
 */
public class MobikeBuilder extends Builder {
    @Override
    public void buildFrame() {
        bike.setFrame("碳纤维车架");
    }

    @Override
    public void buildSeat() {
        bike.setSeat("真皮车座");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}
